package com.zkadmin.repository;

import org.springframework.data.querydsl.QueryDslPredicateExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.zkadmin.entity.SysUser;

public interface SysUserRepository extends PagingAndSortingRepository<SysUser, Long>, QueryDslPredicateExecutor<SysUser> {

	SysUser findByUsername(String username);

	SysUser findByName(String name);
}
